home *** CD-ROM | disk | FTP | other *** search
- From: _GOYRA_@msn.com (David Byrden)
- Subject: RE: Question about exemplars
- Date: 15 Mar 96 22:47:44 -0800
- References: <31475C8B.41C6@corp.sgi.com>
- Message-ID: <00001a81+0000ad7f@msn.com>
- Path: news.msn.com!msn.com
- Newsgroups: comp.lang.c++
- Organization: The Microsoft Network (msn.com)
-
-
- Vishwanath;
-
- >>I write objects from a given class hierarchy into a buffer (
- contiguously ) and then send
- >>the buffer accross to a server/peer. The problem is in trying to
- regenerate a message when
- >>the compilers used in creating the client/peer and server/peer
- programs are DIFFERENT.
-
- >>This I assume is because of the way VTable pointers are stored
- within the class address
- >>space.
-
- Not only the Vtables, but the layout of variables within the class
- object, the size of the types, and the format of the bits within a
- type are all non portable in C++. You are trying to do something that
- the language does not support.
-
- David
-
-